<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
    <th:block th:include="include :: header('投标保函-企业信息列表')" />
</head>
<body class="gray-bg">
     <div class="container-div">
        <div class="row">
            <div class="col-sm-12 search-collapse">
                <form id="formId">
                    <div class="select-list">
                        <ul>
                            <li>
                                <label>投标保函ID：</label>
                                <input type="text" name="bidId"/>
                            </li>
                            <li>
                                <label>顺序：</label>
                                <input type="text" name="order"/>
                            </li>
                            <li>
                                <label>标段：</label>
                                <input type="text" name="xmNameLot"/>
                            </li>
                            <li>
                                <label>企业名称：</label>
                                <input type="text" name="name"/>
                            </li>
                            <li>
                                <label>省：</label>
                                <input type="text" name="sheng"/>
                            </li>
                            <li>
                                <label>市：</label>
                                <input type="text" name="shi"/>
                            </li>
                            <li>
                                <label>企业所在地：</label>
                                <input type="text" name="address"/>
                            </li>
                            <li>
                                <label>开票名称：</label>
                                <input type="text" name="kpName"/>
                            </li>
                            <li>
                                <label>税号：</label>
                                <input type="text" name="kpNum"/>
                            </li>
                            <li>
                                <label>开票电话：</label>
                                <input type="text" name="kpPhone"/>
                            </li>
                            <li>
                                <label>开票地址：</label>
                                <input type="text" name="kpAddress"/>
                            </li>
                            <li>
                                <label>开票开户行：</label>
                                <input type="text" name="kpBank"/>
                            </li>
                            <li>
                                <label>开户账号：</label>
                                <input type="text" name="kpBankNum"/>
                            </li>
                            <li>
                                <label>是否包邮 1 是 2 否：</label>
                                <input type="text" name="freeMail"/>
                            </li>
                            <li>
                                <label>邮寄地址：</label>
                                <input type="text" name="mailAdress"/>
                            </li>
                            <li>
                                <label>营业执照上传地址：</label>
                                <input type="text" name="yyzzUrl"/>
                            </li>
                            <li>
                                <label>出函机构及对接人：</label>
                                <input type="text" name="bhJigou"/>
                            </li>
                            <li>
                                <label>保函金额：</label>
                                <input type="text" name="bhMoney"/>
                            </li>
                            <li>
                                <label>保函有效期：</label>
                                <input type="text" name="bhValidity"/>
                            </li>
                            <li>
                                <label>保函格式：</label>
                                <input type="text" name="bhFormat"/>
                            </li>
                            <li>
                                <label>特殊要求备注：</label>
                                <input type="text" name="bhNotes"/>
                            </li>
                            <li>
                                <label>收费：</label>
                                <input type="text" name="fkMoney"/>
                            </li>
                            <li>
                                <label>付款凭证Url：</label>
                                <input type="text" name="fkUrl"/>
                            </li>
                            <li>
                                <label>合作方费用：</label>
                                <input type="text" name="fkHzMoney"/>
                            </li>
                            <li>
                                <label>合作方付款Url：</label>
                                <input type="text" name="fkHzUrl"/>
                            </li>
                            <li>
                                <label>公司收益：</label>
                                <input type="text" name="fkShouyi"/>
                            </li>
                            <li>
                                <label>返润扣税：</label>
                                <input type="text" name="fkFanrun"/>
                            </li>
                            <li>
                                <label>业绩：</label>
                                <input type="text" name="yeji"/>
                            </li>
                            <li>
                                <a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a>
                                <a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i>&nbsp;重置</a>
                            </li>
                        </ul>
                    </div>
                </form>
            </div>

            <div class="btn-group-sm" id="toolbar" role="group">
                <a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="system:biddingQy:add">
                    <i class="fa fa-plus"></i> 添加
                </a>
                <a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="system:biddingQy:edit">
                    <i class="fa fa-edit"></i> 修改
                </a>
                <a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="system:biddingQy:remove">
                    <i class="fa fa-remove"></i> 删除
                </a>
                <a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="system:biddingQy:export">
                    <i class="fa fa-download"></i> 导出
                </a>
            </div>
            <div class="col-sm-12 select-table table-striped">
                <table id="bootstrap-table"></table>
            </div>
        </div>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var editFlag = [[${@permission.hasPermi('system:biddingQy:edit')}]];
        var removeFlag = [[${@permission.hasPermi('system:biddingQy:remove')}]];
        var prefix = ctx + "system/biddingQy";

        $(function() {
            var options = {
                url: prefix + "/list",
                createUrl: prefix + "/add",
                updateUrl: prefix + "/edit/{id}",
                removeUrl: prefix + "/remove",
                exportUrl: prefix + "/export",
                modalName: "投标保函-企业信息",
                columns: [{
                    checkbox: true
                },
                {
                    field: 'id',
                    title: '',
                    visible: false
                },
                {
                    field: 'bidId',
                    title: '投标保函ID'
                },
                {
                    field: 'order',
                    title: '顺序'
                },
                {
                    field: 'xmNameLot',
                    title: '标段'
                },
                {
                    field: 'name',
                    title: '企业名称'
                },
                {
                    field: 'sheng',
                    title: '省'
                },
                {
                    field: 'shi',
                    title: '市'
                },
                {
                    field: 'address',
                    title: '企业所在地'
                },
                {
                    field: 'fpType',
                    title: '发票类型'
                },
                {
                    field: 'kpName',
                    title: '开票名称'
                },
                {
                    field: 'kpNum',
                    title: '税号'
                },
                {
                    field: 'kpPhone',
                    title: '开票电话'
                },
                {
                    field: 'kpAddress',
                    title: '开票地址'
                },
                {
                    field: 'kpBank',
                    title: '开票开户行'
                },
                {
                    field: 'kpBankNum',
                    title: '开户账号'
                },
                {
                    field: 'freeMail',
                    title: '是否包邮 1 是 2 否'
                },
                {
                    field: 'mailAdress',
                    title: '邮寄地址'
                },
                {
                    field: 'yyzzUrl',
                    title: '营业执照上传地址'
                },
                {
                    field: 'bhType',
                    title: '出函类型'
                },
                {
                    field: 'bhJigou',
                    title: '出函机构及对接人'
                },
                {
                    field: 'bhMoney',
                    title: '保函金额'
                },
                {
                    field: 'bhValidity',
                    title: '保函有效期'
                },
                {
                    field: 'bhFormat',
                    title: '保函格式'
                },
                {
                    field: 'bhNotes',
                    title: '特殊要求备注'
                },
                {
                    field: 'fkMoney',
                    title: '收费'
                },
                {
                    field: 'fkType',
                    title: '付款方式'
                },
                {
                    field: 'fkUrl',
                    title: '付款凭证Url'
                },
                {
                    field: 'fkHzMoney',
                    title: '合作方费用'
                },
                {
                    field: 'fkHzUrl',
                    title: '合作方付款Url'
                },
                {
                    field: 'fkHzType',
                    title: '合作方付款方式'
                },
                {
                    field: 'fkShouyi',
                    title: '公司收益'
                },
                {
                    field: 'fkFanrun',
                    title: '返润扣税'
                },
                {
                    field: 'yeji',
                    title: '业绩'
                },
                {
                    field: 'remark',
                    title: '备注'
                },
                {
                    title: '操作',
                    align: 'center',
                    formatter: function(value, row, index) {
                        var actions = [];
                        actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.id + '\')"><i class="fa fa-edit"></i>编辑</a> ');
                        actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.id + '\')"><i class="fa fa-remove"></i>删除</a>');
                        return actions.join('');
                    }
                }]
            };
            $.table.init(options);
        });
    </script>
</body>
</html>